<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta name="GENERATOR" content="PageBreeze Free HTML Editor (http://www.pagebreeze.com)">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" >
<title>Using Variable</title>
</head>
<body bgcolor="#ffffff">
<h1 align="left">Using Variable<a name="usingvar"></a> </h1>
<p align="left">Interactive Dialplanner  allow 
Interactive Engineer to define variables for the call flow to store the value 
during the Asterisk dialplan execution.&nbsp; There are two types 
of variables:</p>
<ol>
  <li>
<div align="left">User defined variable - variable shall be defined 
by user.</div>
  <li>
<div align="left">System variable - system-related 
  variables that pre-defined by the 
Asterisk PABX.</div></li></ol>
<h1 align="left">     
Define variable<a name="definevar"></a>     
 </h1>
<ol>
  <li>
<div align="left">     
 Click Project &gt; Variables.&nbsp; A 
  dialog box appears.<br><img hspace="0" src="image/Variable.png" 
  border=0><br>     
        
 </div>
  <li>
<div align="left">     
 In the Variable dialog box, click "Add" 
  to add variable.&nbsp; Another dialog box appears.<br><img hspace="0" 
  src="image/variable2.png" border=0><br>     
        
 </div>
  <li>
<div align="left">     
 Specify the variable name.&nbsp; Then 
  click "OK" button.<br><img hspace="0" src="image/variable3.png" 
  border=0><br>     
      
        
 </div>
  <li>
<div align="left">     
 The variable added.&nbsp; Click "OK" 
  button to exit.&nbsp; If another variable you want to define, continue click 
  "Add" button.<br><img hspace="0" src="image/variable4.png" 
  border=0><br>     
      
        
 </div></li></ol>
<h1 align="left"><a name="assignvar"></a>Assign variable into 
Activity - Using Record Activity as Example     
      
        
 </h1>
<ol>
  <li>
<div align="left">     
      
        
 Double click the Activity.&nbsp; The 
  dialog box appears.<br><img hspace="0" src="image/properties-dialog.png" border="0" ><br>     
      
        
 </div>
  <li>
<div align="left">     
      
        
 Click "Variables" button to open the 
  dialog box.<br><img hspace="0" src="image/variable4.png" 
  border=0><br>     
      
        
 </div>
  <li>
<div align="left">     
      
        
 Now we want to assign "variable1" into 
  the "File Name" of Record Activity.&nbsp; You can hold the "variable1" and 
  drag the variable into "File Name" Field.<br><img hspace="0" 
  src="image/variable5.png" border=0><br>     
      
        
 </div>
  <li>
<div align="left">     
      
        
 The "variable1" had been assigned to the 
  specific location.<br>     
      
        
 </div></li></ol>
<p align="left">     
      
        
 For detailed information, you can see our <a 
href="http://www.youtube.com/user/denniswuworks">YouTube channel</a> to see more 
demonstration.     
      
        
 </p>
<p align="left">     
      
        
 </p>
</body>
</html>